.class public Lcom/ninesky/browser/BrowserApp;
.super Landroid/app/Application;


# static fields
.field public static a:Landroid/app/Application;

.field public static b:I


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, -0x1

    sput v0, Lcom/ninesky/browser/BrowserApp;->b:I

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Landroid/app/Application;-><init>()V

    sput-object p0, Lcom/ninesky/browser/BrowserApp;->a:Landroid/app/Application;

    return-void
.end method


# virtual methods
.method public onCreate()V
    .locals 3

    const/4 v2, 0x0

    invoke-static {p0}, Landroid/webkit/CookieSyncManager;->createInstance(Landroid/content/Context;)Landroid/webkit/CookieSyncManager;

    invoke-static {}, Landroid/webkit/CookieManager;->getInstance()Landroid/webkit/CookieManager;

    move-result-object v0

    invoke-virtual {v0}, Landroid/webkit/CookieManager;->removeExpiredCookie()V

    invoke-static {p0}, Lcom/ninesky/browser/setting/a;->a(Landroid/content/Context;)Lcom/ninesky/browser/setting/a;

    invoke-static {p0}, Lcom/ninesky/browser/user/g;->a(Landroid/content/Context;)Lcom/ninesky/browser/user/g;

    invoke-static {}, Lcom/mobclick/android/c;->a()V

    invoke-static {p0}, Lcom/mobclick/android/c;->c(Landroid/content/Context;)V

    const-string v0, "App"

    const-string v1, "OnCreate"

    invoke-static {p0, v0, v1}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/ninesky/browser/BrowserApp;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v0

    invoke-static {v0}, Lcom/ninesky/browser/provider/g;->a(Landroid/content/ContentResolver;)V

    invoke-static {}, Lcom/ninesky/browser/a/g;->a()V

    sput-boolean v2, Lcom/ninesky/a/a/f;->b:Z

    sput-boolean v2, Lcom/ninesky/a/a/f;->c:Z

    return-void
.end method
